package cn.wolfcode.luowowo.cloud.common.json;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.io.Serializable;

@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
public class CodeMsg implements Serializable {
    private Integer code;
    private String msg;
    public static final CodeMsg DEFAULT_ERROR_MSG = new CodeMsg(50001, "服务器发生错误");
    public static final CodeMsg PARAMETER_ERROR = new CodeMsg(50002, "参数异常");
}
